<template>
  <div class="box">webpack-vue !!!!</div>
  <Child />
</template>

<script setup>
import { onMounted } from "vue";
import Child from "@/components/Child";

onMounted(() => {
  fetch(
    "/api/mmdb/movie/v3/list/hot.json?ct=%E5%8C%97%E4%BA%AC&ci=1&channelId=4"
  )
    .then((response) => response.json())
    .then((res) => {
      console.log(res);
    });
});
</script>

<style>
.box {
  color: red;
}
</style>
